package com.yc.sell.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.yc.sell.domain.ProductInfo;

public interface ProductInfoRepository extends JpaRepository<ProductInfo, String>{
	
	List<ProductInfo> findByProductStatus(Integer status);
	
	ProductInfo findByProductId(String productId);
	
	List<ProductInfo> findByCategoryType(Integer categorytype);
}
